div.popUpBox{z-index:1000;background:#dedede;position:fixed;_position:absolute;}
<!--[if IE]>
  div.popUpBox{border:1px #000 solid;}
<![endif]-->

  /*.popUpBox.simpleBorder{background:#000;padding:1px;}*/
  .popUpBoxPreIn{position:relative;}
  .popUpBoxHeader{background:#bbb;height:20px;vertical-align:middle;}
    .popUpBoxHeaderText{color:#000;font-size:14px;vertical-align:middle;padding:2px 10px 0px 10px;}
  .popUpBoxContent{background:#fff;padding:12px 15px 10px 20px;font-size:12px;}

.pub_t, .pub_r, .pub_b, .pub_l, .pub_tl, .pub_tr, .pub_br, .pub_bl{position:absolute;z-index:1001;font-size:0.1px;}
.pub_t{background: url(../../images/pop_up_box/t.png);top:-12px;left:0px;height:12px;width:100%;}
.pub_r{background: url(../../images/pop_up_box/r.png);right:-12px;top:0px;height:100%;width:12px;}
.pub_b{background: url(../../images/pop_up_box/b.png);bottom:-12px;left:0px;height:12px;width:100%;}
.pub_l{background: url(../../images/pop_up_box/l.png);left:-12px;top:0px;height:100%;width:12px;}

.pub_tl{background: url(../../images/pop_up_box/tl.png);left:-12px;top:-12px;height:12px;width:12px;}
.pub_tr{background: url(../../images/pop_up_box/tr.png);right:-12px;top:-12px;height:12px;width:12px;}
.pub_bl{background: url(../../images/pop_up_box/bl.png);left:-12px;bottom:-12px;height:12px;width:12px;}
.pub_br{background: url(../../images/pop_up_box/br.png);right:-12px;bottom:-12px;height:12px;width:12px;}

.pub_close{width:16px;height:16px;position:absolute;top:0px;right:0px;background:url(../../images/pop_up_box/close.gif);cursor:pointer;margin: 10px 5px 0 0}

#modalPopup{z-index:999;position:absolute;_position:absolute; background-color:#ccc; display: block;width:100%;height:100%;top:0px;left:0;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60); /* IE 5.5+*/
-moz-opacity: 0.6; /* Mozilla 1.6 и ниже */
-khtml-opacity: 0.6; /* Konqueror 3.1, Safari 1.1 */
opacity: 0.6; /* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9 */
}